WP_DataSync\App\DataSync D

Total Complexity 158
Dependencies 4
Dependents 2
Total lines 1,562
Lines of code 627
Logical lines of code 324
Comment lines 461
Methods 57
Properties 14

Methods 57

Method Rating Maintainability Complexity Lines of code
attachment()
A
40 10 57
set_term()
A
46 11 38
process()
A
44 10 48
term_meta()
A
55 8 20
term_thumb()
S
53 7 25
taxonomy()
S
52 7 23
maybe_trash_post()
S
58 7 16
file_type()
S
54 6 23
term_desc()
S
55 6 20
fetch_post_id()
S
53 5 25
set_post_id()
S
60 4 14
post_meta()
S
60 4 13
term_exists()
S
52 3 27
update_date()
S
56 3 19
attachment_exists()
S
59 3 16
insert_post_row()
S
61 3 13
post_data()
S
63 3 11
post_data_apply_filters()
S
62 3 11
insert_placeholder()
S
62 3 11
attachment_id()
S
66 3 9
post_data_defaults()
S
66 3 8
set_properties()
S
68 3 7
image_array()
S
62 2 12
reset_term_taxonomy_count()
S
61 1 17
post_data_keys()
S
59 1 16
integrations()
S
72 2 5
file_path()
S
70 2 6
get_post_type()
S
71 2 6
ssl_verify()
S
72 2 6
fetch_image_data()
S
63 2 10
is_valid_image_url()
S
68 2 7
featured_image()
S
73 2 5
restricted_meta_keys()
S
65 1 10
basename()
S
74 1 4
set_post_data()
S
81 1 3
set_featured_image()
S
81 1 3
set_post_meta()
S
81 1 3
set_taxonomies()
S
81 1 3
get_gallery_images()
S
79 1 3
set_order_items()
S
81 1 3
set_attachment()
S
81 1 3
get_taxonomies()
S
82 1 3
get_order_items()
S
82 1 3
get_integrations()
S
82 1 3
get_variations()
S
79 1 3
get_attributes()
S
79 1 3
get_featured_image()
S
82 1 3
instance()
S
80 1 3
get_post_meta()
S
82 1 3
get_attachment()
S
82 1 3
get_post_data()
S
82 1 3
post_meta_key()
S
78 1 3
post_meta_value()
S
73 1 4
get_post_id()
S
82 1 3
get_primary_id()
S
82 1 3
get_is_new()
S
82 1 3
__construct()
S
91 1 2